﻿<%@ Page Language="C#"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:web="http://schemas.live.com/web/" xmlns:devlive="http://dev.live.com">
<head>
    <title>Road Trip - sharing Photos with friends</title>
    <link rel="stylesheet" href="style.css" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<!-- needed for Windows Live Contacts gadget -->
    <script type="text/javascript"   src="http://controls.services.live.com/scripts/base/v0.3/live.js"> </script>
    <script type="text/javascript"   src="http://controls.services.live.com/scripts/base/v0.3/controls.js"> </script>
 	
	<!-- needed for Virtual Earth -->
    <script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/v5/mapcontrol.js"></script>

    <!-- localization scripts -->
    <script type="text/javascript" src="scripts/RoadTripEx.js"></script>
    <script type="text/javascript" src="scripts/splash.js"></script>
  
</head>

<body  onload="pageLoad()" >
 <form id="form1" runat="server">
        <asp:ScriptManager runat="server" ID="scriptManager">
            <Services><asp:ServiceReference Path="RouteService.asmx" /></Services>
            <Scripts>
                <asp:ScriptReference Path="scripts/RoadWS.js" />
            </Scripts>
        </asp:ScriptManager>  
 <div >
    <div id="roadtripmap" class="roadtripmap"  >
    </div>
     <div id="toolpanel" >
        <br /><select id="RouteList"  onchange="Javascript:onChangeRoute();"><option></option> </select><br />
        Title <br /> <input id="RouteTitle" type="text" class="userinput" /><br /><input id="RouteID"  type="hidden" class="userinput" />
        Start Location:<br /> <input id="StartLocation" type="text" class="userinput" /><br />
        End Location: <br /><input id="EndLocation" type="text" class="userinput" /> <br />
        <div id="RouteNew" onclick="Javascript:onCreateRoute();"  class="buttoncreate">New Route</div>
        <div id="RouteSave"  onclick="Javascript:onSaveRoute();" class="buttonedit">Save</div>
        <div id="RouteDelete" onclick="Javascript:onDeleteRoute();" class="buttondelete">Delete</div>
        <div id="RouteView" onclick="Javascript:onEmailRoute();" class="buttonview">Email</div><br />
        <div id="RouteNew2"   class="buttoncreate2">New Route</div>
        <div id="RouteSave2"   class="buttonedit2">Save</div>
        <div id="RouteDelete2"  class="buttondelete2">Delete</div>
        <div id="RouteView2"  class="buttonview2">Email</div><br /><input id="EmailID"  type="hidden" class="userinput" />
    </div>
   <div id="pushpinpanel"  >
        Title:<br /><input id="Title" type="text"  class="userinput" /><br />
        Photo URL:<br /><input id="PhotoURL" type="text" class="userinput" /><br />
        <div id="Div1" onclick="Javascript:onShowPhotoControl();" class="button3">LiveSpace Image</div>
        More Info URL:<br /><input id="MoreInfoURL" type="text" value = '' class="userinput" /><br />
        Description:<br /><input id="Description" type="text" value = '' class="userinput" /> <br />
        <div id="DivPushPin" onclick="Javascript:onCreatePushPin();" class="button2">Create PushPin</div>
        <div onclick="Javascript:onCancelPushPin();" class ="closebutton">X </div>
    </div>
    <div id="myTagLine" class="myTagLine ">Sharing Photos with Friends</div>
    <div id="myLogo" class="myLogo" > Road Trip</div>
    
    <devlive:contactscontrol  style ="right:0px;width:12em;height:18em;border:solid 1px black;background:white;position:absolute;visibility:hidden;"
              id="ContactsControl"
              devlive:privacyStatementURL="http://g.msn.com/0PR_/enus"
              devlive:dataDesired="name,email"
              devlive:onData="onData"
              devlive:onSignin="onSignin"
              devlive:onSignout="onSignout"
              devlive:onError="onError"
              devlive:channelEndpointURL="channel.htm" />
    <devlive:spacescontrol 
    id="PhotoControl"
	style ="right:0px;width:250px;height:500px;border:solid 1px black;background:white;position:absolute;visibility:hidden;"
	devlive:privacyStatementURL= "http://g.msn.com/0PR_/enus"
	devlive:channelEndpointURL="channel.htm"
	devlive:dataDesired="fileAccessControlledURL"
	devlive:market="en"
	devlive:onSignin="onSignin"
	devlive:onSignout="onSignout"
	devlive:onError="onError"
	devlive:onData="onPhotoData" />

</div>
    <div id="mySplash" class="mySplash"></div>
    </form>
             
 </body> 
</html>
